import Cookies from 'js-cookie'

const TokenKey = 'Token'
const CASRedirectKey = 'redirect'

export function getToken() {
    //return Cookies.get(TokenKey);
    return '5ff7b9b30e28de7cc852c8398339e9bfb20a14b0'
}

export function setToken(token) {
    return Cookies.set(TokenKey, token)
}

export function removeToken() {
    return Cookies.remove(TokenKey)
}

export function getCASRedirect() {
    return Cookies.get(CASRedirectKey)
}

export function setCASRedirect(redirect) {
    return Cookies.set(CASRedirectKey, redirect)
}
